<HTML><HEAD><TITLE>ProtocolServer</TITLE></HEAD>
<BODY>
<!#CLASSDEF
ProtocolServer FileEventSource
#ENDCLASSDEF>
<H1>ProtocolServer</H1>

<P>Protocol servers handle incoming connections on a particular protocol.  
<H2>Base Classes</H2>
<UL>
<LI>FileEventSource
</UL>
<H2>Methods</H2>
<UL>
<LI><A HREF="#acceptConnection(self)">acceptConnection(self)</A>
<LI><A HREF="#isSingleConnection(self)">isSingleConnection(self)</A>
</UL>
<A NAME="acceptConnection">
<A NAME="acceptConnection(self)">
<H3>acceptConnection(self)</H3>
<PRE>
   def acceptConnection(self):
</PRE>

<P>Returns a new connection for the server.  
<A NAME="isSingleConnection">
<A NAME="isSingleConnection(self)">
<H3>isSingleConnection(self)</H3>
<PRE>
   def isSingleConnection(self):
</PRE>

<P>Returns true if the server returns a single connection, as in the case of a
server for a named pipe or stdin/stdout.  
<P>Always returns false, derived classes may override.  
</BODY></HTML>
